import {createStore,combineReducers,applyMiddleware,compose} from 'redux';
import thunk from 'redux-thunk'
import {navsidelist} from './main.redux';
import {resMessage} from './form.redux'

// 配置浏览器插件
const store = createStore(combineReducers({navsidelist,resMessage}), compose(
  applyMiddleware(thunk),
  window.devToolsExtension?window.devToolsExtension(): f=>f
));

export default store;